package com.ruoyi.flowable.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;



/**
 * 事项视图对象 flow_app
 *
 * @author zxw
 * @date 2023-03-21
 */
@Data
@ExcelIgnoreUnannotated
public class AppVo {

    private static final long serialVersionUID = 1L;

    /**
     * 事项ID
     */
    @ExcelProperty(value = "事项ID")
    private Long appId;

    /**
     * 事项名称
     */
    @ExcelProperty(value = "事项名称")
    private String appName;

    /**
     * 事项状态
     */
    @ExcelProperty(value = "事项状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String status;

    /**
     * 事项类型
     */
    @ExcelProperty(value = "事项类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "app_type")
    private String type;

    /**
     * 事项图标
     */
    @ExcelProperty(value = "事项图标")
    private String logo;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 事项描述
     */
    @ExcelProperty(value = "事项描述")
    private String description;

    /**
     * 附件
     */
    @ExcelProperty(value = "附件")
    private String attach;

    /**
     * 表单编码
     */
    @ExcelProperty(value = "表单编码")
    private Long formId;

    /**
     * 使用版本
     */
    @ExcelProperty(value = "使用版本")
    private Long useVersion;


}
